<?php 
echo '<title>'.Yii::t('view','title').'</title>';
$params = $_GET;
?>
<?php foreach(Yii::app()->params['langs'] as $lang=>$lang_name):?>
	<?php $params['lang'] = $lang;?>
	<p><a href="<?php echo $this->createUrl($this->getRoute(),$params) ?>"><?php echo Yii::t('view','welcome',null,null,$lang);?></a></p>
<?php endforeach;?>